
from flask import Flask, request

app = Flask(__name__)

# 路由
@app.route("/")
def hello_world():
    return "Hello, World!"

# 路由
@app.route("/login", methods=["GET"])
def get_login():
    pwd = request.args.get('pwd')
    email = request.args.get('email')
    if pwd and email:
        return {"name": 'a', 'email':'1'}
    else:
        return "参数不正确1"




